/*
 * XML Type:  Tax1099Response
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.Tax1099Response
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML Tax1099Response(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class Tax1099ResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.ofx.types.x2003.x04.Tax1099Response
{
    
    public Tax1099ResponseImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ACCTNUM$0 = 
        new javax.xml.namespace.QName("", "ACCTNUM");
    private static final javax.xml.namespace.QName RECID$2 = 
        new javax.xml.namespace.QName("", "RECID");
    private static final javax.xml.namespace.QName TAX1099MISCV100$4 = 
        new javax.xml.namespace.QName("", "TAX1099MISC_V100");
    private static final javax.xml.namespace.QName TAX1099RV100$6 = 
        new javax.xml.namespace.QName("", "TAX1099R_V100");
    private static final javax.xml.namespace.QName TAX1099BV100$8 = 
        new javax.xml.namespace.QName("", "TAX1099B_V100");
    private static final javax.xml.namespace.QName TAX1099INTV100$10 = 
        new javax.xml.namespace.QName("", "TAX1099INT_V100");
    private static final javax.xml.namespace.QName TAX1099DIVV100$12 = 
        new javax.xml.namespace.QName("", "TAX1099DIV_V100");
    private static final javax.xml.namespace.QName TAX1099OIDV100$14 = 
        new javax.xml.namespace.QName("", "TAX1099OID_V100");
    
    
    /**
     * Gets the "ACCTNUM" element
     */
    public java.lang.String getACCTNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCTNUM$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ACCTNUM" element
     */
    public net.ofx.types.x2003.x04.AccountIdType xgetACCTNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AccountIdType target = null;
            target = (net.ofx.types.x2003.x04.AccountIdType)get_store().find_element_user(ACCTNUM$0, 0);
            return target;
        }
    }
    
    /**
     * True if has "ACCTNUM" element
     */
    public boolean isSetACCTNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ACCTNUM$0) != 0;
        }
    }
    
    /**
     * Sets the "ACCTNUM" element
     */
    public void setACCTNUM(java.lang.String acctnum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCTNUM$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACCTNUM$0);
            }
            target.setStringValue(acctnum);
        }
    }
    
    /**
     * Sets (as xml) the "ACCTNUM" element
     */
    public void xsetACCTNUM(net.ofx.types.x2003.x04.AccountIdType acctnum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AccountIdType target = null;
            target = (net.ofx.types.x2003.x04.AccountIdType)get_store().find_element_user(ACCTNUM$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AccountIdType)get_store().add_element_user(ACCTNUM$0);
            }
            target.set(acctnum);
        }
    }
    
    /**
     * Unsets the "ACCTNUM" element
     */
    public void unsetACCTNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ACCTNUM$0, 0);
        }
    }
    
    /**
     * Gets the "RECID" element
     */
    public java.lang.String getRECID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RECID$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "RECID" element
     */
    public net.ofx.types.x2003.x04.IdType xgetRECID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.IdType target = null;
            target = (net.ofx.types.x2003.x04.IdType)get_store().find_element_user(RECID$2, 0);
            return target;
        }
    }
    
    /**
     * True if has "RECID" element
     */
    public boolean isSetRECID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RECID$2) != 0;
        }
    }
    
    /**
     * Sets the "RECID" element
     */
    public void setRECID(java.lang.String recid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RECID$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RECID$2);
            }
            target.setStringValue(recid);
        }
    }
    
    /**
     * Sets (as xml) the "RECID" element
     */
    public void xsetRECID(net.ofx.types.x2003.x04.IdType recid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.IdType target = null;
            target = (net.ofx.types.x2003.x04.IdType)get_store().find_element_user(RECID$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.IdType)get_store().add_element_user(RECID$2);
            }
            target.set(recid);
        }
    }
    
    /**
     * Unsets the "RECID" element
     */
    public void unsetRECID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RECID$2, 0);
        }
    }
    
    /**
     * Gets array of all "TAX1099MISC_V100" elements
     */
    public net.ofx.types.x2003.x04.Tax1099MISCV100[] getTAX1099MISCV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TAX1099MISCV100$4, targetList);
            net.ofx.types.x2003.x04.Tax1099MISCV100[] result = new net.ofx.types.x2003.x04.Tax1099MISCV100[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "TAX1099MISC_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099MISCV100 getTAX1099MISCV100Array(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099MISCV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099MISCV100)get_store().find_element_user(TAX1099MISCV100$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "TAX1099MISC_V100" element
     */
    public int sizeOfTAX1099MISCV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TAX1099MISCV100$4);
        }
    }
    
    /**
     * Sets array of all "TAX1099MISC_V100" element
     */
    public void setTAX1099MISCV100Array(net.ofx.types.x2003.x04.Tax1099MISCV100[] tax1099MISCV100Array)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(tax1099MISCV100Array, TAX1099MISCV100$4);
        }
    }
    
    /**
     * Sets ith "TAX1099MISC_V100" element
     */
    public void setTAX1099MISCV100Array(int i, net.ofx.types.x2003.x04.Tax1099MISCV100 tax1099MISCV100)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099MISCV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099MISCV100)get_store().find_element_user(TAX1099MISCV100$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(tax1099MISCV100);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "TAX1099MISC_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099MISCV100 insertNewTAX1099MISCV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099MISCV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099MISCV100)get_store().insert_element_user(TAX1099MISCV100$4, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "TAX1099MISC_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099MISCV100 addNewTAX1099MISCV100()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099MISCV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099MISCV100)get_store().add_element_user(TAX1099MISCV100$4);
            return target;
        }
    }
    
    /**
     * Removes the ith "TAX1099MISC_V100" element
     */
    public void removeTAX1099MISCV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TAX1099MISCV100$4, i);
        }
    }
    
    /**
     * Gets array of all "TAX1099R_V100" elements
     */
    public net.ofx.types.x2003.x04.Tax1099RV100[] getTAX1099RV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TAX1099RV100$6, targetList);
            net.ofx.types.x2003.x04.Tax1099RV100[] result = new net.ofx.types.x2003.x04.Tax1099RV100[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "TAX1099R_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099RV100 getTAX1099RV100Array(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099RV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099RV100)get_store().find_element_user(TAX1099RV100$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "TAX1099R_V100" element
     */
    public int sizeOfTAX1099RV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TAX1099RV100$6);
        }
    }
    
    /**
     * Sets array of all "TAX1099R_V100" element
     */
    public void setTAX1099RV100Array(net.ofx.types.x2003.x04.Tax1099RV100[] tax1099RV100Array)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(tax1099RV100Array, TAX1099RV100$6);
        }
    }
    
    /**
     * Sets ith "TAX1099R_V100" element
     */
    public void setTAX1099RV100Array(int i, net.ofx.types.x2003.x04.Tax1099RV100 tax1099RV100)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099RV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099RV100)get_store().find_element_user(TAX1099RV100$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(tax1099RV100);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "TAX1099R_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099RV100 insertNewTAX1099RV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099RV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099RV100)get_store().insert_element_user(TAX1099RV100$6, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "TAX1099R_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099RV100 addNewTAX1099RV100()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099RV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099RV100)get_store().add_element_user(TAX1099RV100$6);
            return target;
        }
    }
    
    /**
     * Removes the ith "TAX1099R_V100" element
     */
    public void removeTAX1099RV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TAX1099RV100$6, i);
        }
    }
    
    /**
     * Gets array of all "TAX1099B_V100" elements
     */
    public net.ofx.types.x2003.x04.Tax1099BV100[] getTAX1099BV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TAX1099BV100$8, targetList);
            net.ofx.types.x2003.x04.Tax1099BV100[] result = new net.ofx.types.x2003.x04.Tax1099BV100[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "TAX1099B_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099BV100 getTAX1099BV100Array(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099BV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099BV100)get_store().find_element_user(TAX1099BV100$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "TAX1099B_V100" element
     */
    public int sizeOfTAX1099BV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TAX1099BV100$8);
        }
    }
    
    /**
     * Sets array of all "TAX1099B_V100" element
     */
    public void setTAX1099BV100Array(net.ofx.types.x2003.x04.Tax1099BV100[] tax1099BV100Array)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(tax1099BV100Array, TAX1099BV100$8);
        }
    }
    
    /**
     * Sets ith "TAX1099B_V100" element
     */
    public void setTAX1099BV100Array(int i, net.ofx.types.x2003.x04.Tax1099BV100 tax1099BV100)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099BV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099BV100)get_store().find_element_user(TAX1099BV100$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(tax1099BV100);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "TAX1099B_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099BV100 insertNewTAX1099BV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099BV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099BV100)get_store().insert_element_user(TAX1099BV100$8, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "TAX1099B_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099BV100 addNewTAX1099BV100()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099BV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099BV100)get_store().add_element_user(TAX1099BV100$8);
            return target;
        }
    }
    
    /**
     * Removes the ith "TAX1099B_V100" element
     */
    public void removeTAX1099BV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TAX1099BV100$8, i);
        }
    }
    
    /**
     * Gets array of all "TAX1099INT_V100" elements
     */
    public net.ofx.types.x2003.x04.Tax1099INTV100[] getTAX1099INTV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TAX1099INTV100$10, targetList);
            net.ofx.types.x2003.x04.Tax1099INTV100[] result = new net.ofx.types.x2003.x04.Tax1099INTV100[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "TAX1099INT_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099INTV100 getTAX1099INTV100Array(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099INTV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099INTV100)get_store().find_element_user(TAX1099INTV100$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "TAX1099INT_V100" element
     */
    public int sizeOfTAX1099INTV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TAX1099INTV100$10);
        }
    }
    
    /**
     * Sets array of all "TAX1099INT_V100" element
     */
    public void setTAX1099INTV100Array(net.ofx.types.x2003.x04.Tax1099INTV100[] tax1099INTV100Array)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(tax1099INTV100Array, TAX1099INTV100$10);
        }
    }
    
    /**
     * Sets ith "TAX1099INT_V100" element
     */
    public void setTAX1099INTV100Array(int i, net.ofx.types.x2003.x04.Tax1099INTV100 tax1099INTV100)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099INTV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099INTV100)get_store().find_element_user(TAX1099INTV100$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(tax1099INTV100);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "TAX1099INT_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099INTV100 insertNewTAX1099INTV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099INTV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099INTV100)get_store().insert_element_user(TAX1099INTV100$10, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "TAX1099INT_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099INTV100 addNewTAX1099INTV100()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099INTV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099INTV100)get_store().add_element_user(TAX1099INTV100$10);
            return target;
        }
    }
    
    /**
     * Removes the ith "TAX1099INT_V100" element
     */
    public void removeTAX1099INTV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TAX1099INTV100$10, i);
        }
    }
    
    /**
     * Gets array of all "TAX1099DIV_V100" elements
     */
    public net.ofx.types.x2003.x04.Tax1099DIVV100[] getTAX1099DIVV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TAX1099DIVV100$12, targetList);
            net.ofx.types.x2003.x04.Tax1099DIVV100[] result = new net.ofx.types.x2003.x04.Tax1099DIVV100[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "TAX1099DIV_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099DIVV100 getTAX1099DIVV100Array(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099DIVV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099DIVV100)get_store().find_element_user(TAX1099DIVV100$12, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "TAX1099DIV_V100" element
     */
    public int sizeOfTAX1099DIVV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TAX1099DIVV100$12);
        }
    }
    
    /**
     * Sets array of all "TAX1099DIV_V100" element
     */
    public void setTAX1099DIVV100Array(net.ofx.types.x2003.x04.Tax1099DIVV100[] tax1099DIVV100Array)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(tax1099DIVV100Array, TAX1099DIVV100$12);
        }
    }
    
    /**
     * Sets ith "TAX1099DIV_V100" element
     */
    public void setTAX1099DIVV100Array(int i, net.ofx.types.x2003.x04.Tax1099DIVV100 tax1099DIVV100)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099DIVV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099DIVV100)get_store().find_element_user(TAX1099DIVV100$12, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(tax1099DIVV100);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "TAX1099DIV_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099DIVV100 insertNewTAX1099DIVV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099DIVV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099DIVV100)get_store().insert_element_user(TAX1099DIVV100$12, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "TAX1099DIV_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099DIVV100 addNewTAX1099DIVV100()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099DIVV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099DIVV100)get_store().add_element_user(TAX1099DIVV100$12);
            return target;
        }
    }
    
    /**
     * Removes the ith "TAX1099DIV_V100" element
     */
    public void removeTAX1099DIVV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TAX1099DIVV100$12, i);
        }
    }
    
    /**
     * Gets array of all "TAX1099OID_V100" elements
     */
    public net.ofx.types.x2003.x04.Tax1099OIDV100[] getTAX1099OIDV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TAX1099OIDV100$14, targetList);
            net.ofx.types.x2003.x04.Tax1099OIDV100[] result = new net.ofx.types.x2003.x04.Tax1099OIDV100[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "TAX1099OID_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099OIDV100 getTAX1099OIDV100Array(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099OIDV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099OIDV100)get_store().find_element_user(TAX1099OIDV100$14, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "TAX1099OID_V100" element
     */
    public int sizeOfTAX1099OIDV100Array()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TAX1099OIDV100$14);
        }
    }
    
    /**
     * Sets array of all "TAX1099OID_V100" element
     */
    public void setTAX1099OIDV100Array(net.ofx.types.x2003.x04.Tax1099OIDV100[] tax1099OIDV100Array)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(tax1099OIDV100Array, TAX1099OIDV100$14);
        }
    }
    
    /**
     * Sets ith "TAX1099OID_V100" element
     */
    public void setTAX1099OIDV100Array(int i, net.ofx.types.x2003.x04.Tax1099OIDV100 tax1099OIDV100)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099OIDV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099OIDV100)get_store().find_element_user(TAX1099OIDV100$14, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(tax1099OIDV100);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "TAX1099OID_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099OIDV100 insertNewTAX1099OIDV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099OIDV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099OIDV100)get_store().insert_element_user(TAX1099OIDV100$14, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "TAX1099OID_V100" element
     */
    public net.ofx.types.x2003.x04.Tax1099OIDV100 addNewTAX1099OIDV100()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Tax1099OIDV100 target = null;
            target = (net.ofx.types.x2003.x04.Tax1099OIDV100)get_store().add_element_user(TAX1099OIDV100$14);
            return target;
        }
    }
    
    /**
     * Removes the ith "TAX1099OID_V100" element
     */
    public void removeTAX1099OIDV100(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TAX1099OIDV100$14, i);
        }
    }
}
